@charset "utf-8";
/*
 * telkeyboard  手机号码输入键盘
*/
/*遮罩层*/
.keyboard-mask {position: fixed;width: 100%;height: 100%;top:0;left:0;background: rgba(0,0,0,.6);z-index: 1000;}
.telkeyboard {position: fixed;z-index: 1000;left:0;bottom:0;width: 100%;background: #f7f7f7;color: #333;box-shadow: 0 -2px 5px rgba(0,0,0,.3);
	-webkit-opacity: 0;
	opacity: 0;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
	-webkit-animation: UpIn .3s ease forwards;
	animation: UpIn .3s ease forwards;
}
.telkeyboard_UpOut {
	-webkit-animation: UpOut .3s ease forwards;
	animation: UpOut .3s ease forwards;
}
.telkeyboard-title {font-size: 0.32rem;height: 0.8rem;line-height: 0.8rem;text-align: center;position: relative;font-weight: bold;}
.telkeyboard-title:after {
	content: "";
	position: absolute;
	left:0;bottom: 0;width: 100%;
	border-top: 1px solid #ccc;
	-webkit-transform:scaleY(0.5);
	transform:scaleY(0.5);
}
.telkeyboard-error {width: 80%;height: 0.5rem;line-height: 0.6rem;font-size: 0.28rem;color: #c00;margin:0 10%;overflow: hidden;}
.telkeyboard-hd {width: 80%;height:0.9rem;line-height:0.9rem; background: #fff;border:1px solid #ddd;margin:0 10%;font-size: 0.44rem;padding:0 0.1rem;}
.telkeyboard-bd {
	margin-top:0.5rem;
	background: #fff;
	width:100%;
	display:-webkit-box;
	display:-webkit-flex;
	display: flex;
	flex-wrap: wrap;
}
.telkeyboard-bd a {display: block;color: #333;width: 33.33%;height: 1rem;line-height: 1rem;font-size: 0.44rem;text-align: center;position: relative;}
.telkeyboard-bd a:not(:nth-child(3n+1)):after {
	content: "";
	position: absolute;
	left:0;top: 0;height: 100%;
	border-left: 1px solid #ccc;
	-webkit-transform:scaleX(0.5);
	transform:scaleX(0.5);	
}
.telkeyboard-bd a:before {
	content: "";
	position: absolute;
	left:0;top:0;width:100%;
	border-top: 1px solid #ccc;
	-webkit-transform:scaleY(0.5);
	transform:scaleY(0.5);		
}
.telkeyboard-bd a:active {background: #f5f5f5;}
.telkeyboard-bd a.keyCancel {font-size: 0.28rem;}
.telkeyboard-bd a.keyBackspace i {font-size: 0.7rem;}

/*********************    animation   ************************************/
@-webkit-keyframes UpIn {
  0% {
    -webkit-opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
  }
  100% {
    -webkit-opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
  }
}
@keyframes UpIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@-webkit-keyframes UpOut {
  0% {
    -webkit-opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
  }
}
@keyframes UpOut {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
}